Repository navigation
DOCS-2693 / 28 / DOCS-2693 Fix endless refresh on drafted KMIP and Community Tutorials URLs - #4898
Merged
Merged
Conversation
… when drafts declare aliases Hugo writes an alias stub for a draft page with an empty target (<meta http-equiv=refresh content="0; url=">), which reloads itself forever. /scale/credentials/kmip/ and /scale/scaletutorials/communityrecommends/ served that stub. Remove aliases from the draft KMIP and Community Tutorials pages and move them to the nearest published parents (Credentials, TrueNAS landing page) so old URLs redirect instead of 404. Add a CI check that fails when a draft page declares aliases.
Contributor
Vale Style Guide Issues📊 Summary: 33 issues found in changed files - 4 errors, 0 warnings, 29 suggestions Changed files with issues: content/SCALE/Credentials/KMIP/KMIPScreen.md (15 issues)
content/SCALE/Credentials/KMIP/ConfiguringKMIP.md (8 issues)
content/SCALE/Credentials/_index.md (7 issues)
content/SCALE/CommunityRecommends/_index.md (2 issues)
content/SCALE/_index.md (1 issues)
🔧 To fix: Review the issues above and update your documentation accordingly. |
micjohnson777
approved these changes
Nov 6, 2026
Contributor
|
This PR has been merged and conversations have been locked. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
https://www.truenas.com/docs/scale/credentials/kmip/ refreshes forever.
Hugo still writes an alias stub for a draft page, but the stub has no target URL:
```html
```
An empty `url=` reloads the same page.
KMIP was drafted on purpose in #4663, but its aliases stayed in place, so the stub shipped.
`/scale/scaletutorials/communityrecommends/` has the same problem for the same reason.
Groups has an identical self-alias but is not a draft, so the real page replaces the stub.
Changes